home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Programmer Disk
/
The Programmer Disk (Microforum).iso
/
xpro
/
extra
/
pro13
/
stricmp.c
< prev
next >
Wrap
C/C++ Source or Header
|
1993-02-01
|
324b
|
21 lines
/*
stricmp.C
Copyright (C) 1993, Geoff Friesen B.Sc.
All rights reserved.
*/
#define INCL_STRICMP
#ifndef INCL_TOUPPER
#include "toupper.C"
#endif
int stricmp (const char *s1, const char *s2)
{
for (; toupper (*s1) == toupper (*s2); s1++, s2++)
if (!*s1)
return 0;
return (*s1-*s2);
}